﻿using System;
using System.Collections.Generic;
using System.Linq;


namespace MyNet.WebUI {

    using Microsoft.AspNet.Membership.OpenAuth;

    internal static class AuthConfig {

        public static void RegisterOpenAuth () {


            // In Cloud
            OpenAuth.AuthenticationClients.Add( "Facebook", () => {
                return
                    new FacebookOAuthClient(
                        applicationID: "234716973323346",
                        applicationSecret: "ad3acaf1fb7751b44db483ba9af1ee02",
                        authScope: "email, read_friendlists"
                    );
            }
            );


            // Local
            /*
            OpenAuth.AuthenticationClients.Add ( "Facebook", () => {
                return 
                    new FacebookOAuthClient ( 
                        applicationID: "460803017295472", 
                        applicationSecret: "34d34a5e378f990136ea8ab22bdeca32",
                        authScope: "email, read_friendlists" 
                    ); 
                }
            );
             */
            

        }
    }




}